package com.mmt.www.head.member;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 
 * @author 민종근
 * 회원(가맹점)정보 컨트롤러
 */
@Controller
@RequestMapping(value = "/member")
public class MemberControllerImpl {
	
	@Autowired
	private MemberServiceImpl memberService;
	
	/** 회원목록  */
	@RequestMapping(value = "/list")
	public String memberList(Model model, String searchCode){		
		
		return memberService.memberSelect(model, searchCode);
	}
	
	/** 회원 상세페이지  */
	@RequestMapping(value = "/memberDetail")
	public String memberDetail(Model model, String mart_code){
				
		return memberService.memberDetail(model, mart_code);		
	}
}
